package s02;

import java.text.ParseException;
import java.util.Calendar;
import java.util.Date;

/**
 * @ClassName CalendarDemo05
 * @Description Calendar中的getTime方法并不是获取毫秒值，而是拿到对应的Date对象
 * @Author Li
 * @Date 2022/8/3 11:53
 * @ModifyDate 2022/8/3 11:53
 * @Version 1.0
 */
public class CalendarDemo05 {
    public static void main(String[] args) throws ParseException {
        // 创建Calendar对象
        Calendar calendar = Calendar.getInstance();
        Date date = calendar.getTime();
        System.out.println(date);
    }
}
